﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Drawing;

namespace GroupChat2013.Plugins
{
    /// <summary>
    /// 插件必须实现的接口
    /// </summary>
    public interface IPlugin
    {
        /// <summary>
        /// 显示图标
        /// </summary>
        /// <returns></returns>
        Image IconImage { get; }

        /// <summary>
        /// 功能描述
        /// </summary>
        string Description { get; }

        /// <summary>
        /// 执行操作
        /// </summary>
        void Execute(PluginContext context);

        /// <summary>
        /// 插件顺序
        /// </summary>
        int Order { get; }

        /// <summary>
        /// 插件名称
        /// </summary>
        string Name { get; }
    }
}
